package com.gpl;

import com.gpl.service.IOVServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Author: 高创
 * @Date: 2023-05-24-11:50
 * @Description: 类
 */
@SpringBootApplication
public class NettyApplication implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(NettyApplication.class);
    }

    @Autowired
    IOVServer iovServer;


    @Override
    public void run(String... args) throws Exception {
        System.out.println("启用成功");
        iovServer.start();
    }
}
